package com.twu.biblioteca.helpers;


import java.util.Scanner;

public class InputOutput {

    private StringBuilder output;
    private Scanner input;
    private static final InputOutput INSTANCE = new InputOutput();

    private InputOutput() {
        this.output = new StringBuilder();
        this.input = new Scanner(System.in);
    }

    public static InputOutput getInstance(){
        return INSTANCE;
    }

    public StringBuilder getOutput() {
        return output;
    }

    public Scanner getInput() {
        return input;
    }
}
